package com.qingfeng.client.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
@ApiModel(value = "com.qingfeng.client.bean.SellerBill")
@Data
@TableName(value = "seller_bill")
public class SellerBill {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 类型，1：交易，2：退回手续费，-1：交易手续费，-2：提现，-3：退款
     */
    @TableField(value = "type")
    @ApiModelProperty(value = " 类型，1：交易，2：退回手续费，-1：交易手续费，-2：提现，-3：退款")
    private Integer type;

    /**
     * 店铺id
     */
    @TableField(value = "store_id")
    @ApiModelProperty(value = "店铺id")
    private Integer storeId;

    /**
     * 支付，收款类型
     */
    @TableField(value = "pay_type")
    @ApiModelProperty(value = "支付，收款类型")
    private String payType;

    /**
     * 支付，收款账号
     */
    @TableField(value = "pay_account")
    @ApiModelProperty(value = "支付，收款账号")
    private String payAccount;

    @TableField(value = "trade_code")
    @ApiModelProperty(value = "null")
    private String tradeCode;

    /**
     * 金额
     */
    @TableField(value = "money")
    @ApiModelProperty(value = "金额")
    private Integer money;

    /**
     * 时间
     */
    @TableField(value = "time")
    @ApiModelProperty(value = "时间")
    private Integer time;

    /**
     * 提取状态，1：提取成功，-1:提取失败
     */
    @TableField(value = "stat")
    @ApiModelProperty(value = "提取状态，1：提取成功，-1:提取失败")
    private Integer stat;

    /**
     * 备注
     */
    @TableField(value = "comment")
    @ApiModelProperty(value = "备注")
    private String comment;
}